package com.samebuilding.service;

import java.util.List;
import java.util.Map;

import com.samebuilding.domain.Gift;

public interface GiftService {
	public Gift findByCode(int code);
	public List findBygiftCategoryCode(int giftCategoryCode);
	public void save(Gift g);
	public Gift findByName(String name);
	public List findAll();
	public String getphoto(int code);
	public Map findByCategoryCode(int giftCategoryCode);
	
	
	public String sendGift(int fromUserno,int toUserno,int giftCode,String message);
}
